﻿<%@ Control Language="C#" %>
<%@ Import Namespace="Hidistro.Core" %>
<asp:Repeater ID="PList" runat="server">
    <ItemTemplate>
        <li runat="server" id="li">
            <a href="<%#Globals.GetSiteUrls().UrlData.FormatUrl("productDetails", new object[] { Eval("ProductId"), Eval("CategoryUrl") })%>" target="_blank">
                <img title="<%#Eval("ProductName")%>" src="<%#Globals.GetImgUrl(Eval("ImageUrl7").ToString())%>">
            </a>
            <p style="display: block; height: 46px; overflow: hidden;"><%#Eval("ProductName")%> <%#Eval("ProductText")%></p>
            <p>
                <span class="price"><span>¥</span><strong><%#((decimal)Eval("RankPrice")).ToString("F0")%></strong></span>
                <span><span>¥</span><del><%#((decimal)Eval("MarketPrice")).ToString("f0")%></del></span>
                <span class="baoyou"><a href="#">包邮</a></span>
            </p>
            <p>月销量<%#Eval("SaleCounts")%>件<span style="margin-left: 10px;">评价:<%#Eval("Review")%></span></p>
            <em>
                <a class="addToCart" defaultsku="<%# Eval("SkuId") %>" stock="<%# Eval("Stock") %>" href="javascript:void(0)">
                    <img src="http://image.juseshop.com/images\/index/guc.png">
                </a>
            </em>
        </li>
    </ItemTemplate>
</asp:Repeater>
